//
//  APIConfig.h
//  Around
//
//  Created by 华谕 on 2017/6/13.
//  Copyright © 2017年 HUYU. All rights reserved.
//

#ifndef APIConfig_h
#define APIConfig_h

#define kAppVersion @"kAppVersion"//App版本
#define GAODEKEY @"3eb86bb9b9b3b4f078b41d695c1b1f86"

//登录状态
#define SERVER_IsLogin @"isLogin"
#define SERVER_isPass @"isShenghe"

//用户ID
#define SERVER_UserID @"userid"
#define SERVER_UserName @"username"
#define SERVER_ManageID @"manageid"

//登录Token
#define SERVER_LoginToken @"loginToken"

//城市ID
#define SERVER_CityID @"CITYID"

//手机号码
#define SERVER_Phone @"userphone"
//地区
#define SERVER_sheng @"provce"
#define SERVER_shi @"theCity"
#define SERVER_qu @"theArea"
#define SERVER_shengName @"provceName"
#define SERVER_shiName @"theCityName"
#define SERVER_quName @"theAreaName"

//项目id
#define SERVER_manageID @"manageID"
#define SERVER_manageNAME @"manageNAME"


//注册请求验证码
#define SERVER_CodeRegister @"/worker/user/getRegisterCode"
//忘记密码 验证码
#define SERVER_getUpdatePswCode @"/worker/user/getUpdatePswCode"
//提现密码 验证码
#define SERVER_drawPswCode @"/worker/user/getUpdateWithdrawPswCode"

//注册
#define SERVER_Register @"/worker/user/register"
//登录
#define SERVER_UserLogin @"/worker/user/login"
//用户信息
#define SERVER_userInfo @"/worker/user/info"
//简历信息
#define SERVER_workerInfo @"/worker/worker/info"
//修改用户信息
#define SERVER_updateInfo @"/worker/user/save"
//文件上传
#define SERVER_fileUpload @"/worker/upload/file"
//地区
#define SERVER_areaList @"/worker/area/findAll"
//保存用户简历
#define SERVER_uploadWorker @"/worker/worker/save"
//公钥
#define SERVER_PublicKey @"/worker/keystore/rsaPublicKey"
//工种
#define SERVER_workerType @"/worker/work/findAll"
//保存工作经历
#define SERVER_experienceSave @"/worker/experience/save"
//退出登录
#define SERVER_UserLogout @"/worker/user/logout"
//实名认证
#define SERVER_Identity @"/worker/identity/save"
//钱包余额
#define SERVER_mineWallet @"/worker/wallet/mine"
//钱包明细
#define SERVER_transaction @"/worker/transaction/mine"
//热门城市
#define SERVER_HotAreaCity @"/worker/area/hot"
//城市列表
#define SERVER_AllCityLiat @"/worker/area/city"
//银行列表
#define SERVER_BankList @"/worker/bank/findAll"
//添加银行卡
#define SERVER_AddBankCar @"/worker/bankCard/save"
//银行卡列表
#define SERVER_BankCarList @"/worker/bankCard/mine"
//添加银行卡请求验证码
#define SERVER_CodeBankCard @"/worker/bankCard/getCode"
//解绑银行卡
#define SERVER_BankCardDelete @"/worker/bankCard/delete"

// 忘记密码
#define SERVER_updatePsw @"/worker/user/updatePsw"
//设置提现密码
#define SERVER_updatedrawPsw @"/worker/user/updateWithdrawPsw"
//提现
#define SERVER_DrawAdd @"/worker/withdraw/add"
//是否设置了提现密码
#define SERVER_passwordSetting @"/worker/withdraw/passwordSetting"
//项目订单列表
#define SERVER_projectLise @"/worker/project/mine"
//评价列表
#define SERVER_EvaluateLise @"/worker/evaluate/page"
//消息反馈
#define SERVER_Feedbacksave @"/worker/feedback/save"
//关于我们
#define SERVER_AboutUs @"/worker/systemConfig/companyIntro"
//客服电话 
#define SERVER_kefuPhone @"/worker/systemConfig/customerService"
//帮助中心
#define SERVER_helpAll @"/worker/help/findAll"
//日报列表
#define SERVER_dailyList @"/worker/daily/page"
//添加日报
#define SERVER_dailySave @"/worker/daily/save"
//员工列表
#define SERVER_workerPeople @"/worker/attendance/findByProject"
// 我的空闲日期
#define SERVER_workerFreeDate @"/worker/workerFreeDate/mine"
// 保存空闲日期
#define SERVER_SaveFreeDate @"/worker/workerFreeDate/save"
//考勤保存
#define SERVER_SaveAttendance @"/worker/attendance/save"
//我的考勤列表
#define SERVER_MyAttendList @"/worker/attendance/mine"
//我的收藏 
#define SERVER_Mycollect @"/worker/collect/mine"
//地图找工厂
#define SERVER_ContractorMap @"/worker/contractor/map"
//工厂详情
#define SERVER_ContractorDetail @"/worker/contractor/select"
//招工告示
#define SERVER_WorkerNotice @"/worker/project/page"
//查看项目详情
#define SERVER_projectSelect @"/worker/project/select"
//收藏，取消收藏 /worker/collect/addOrRemove
#define SERVER_collectAddOrRemove @"/worker/collect/addOrRemove"
//雇主 /worker/employer/select
#define SERVER_EmployerSelect @"/worker/employer/select"
//评价
#define SERVER_EvaluateSave @"/worker/evaluate/save"
//报名
#define SERVER_recomAdd @"/worker/recommend/add"
//消息
#define SERVER_messageList @"/worker/message/mine"





//修改手机号
#define SERVER_updatePhone @"/c/user/updatePhone"
//账单列表
#define SERVER_userWalletInfo @"/c/userWalletInfo/findAllWithPage"



//新增地址
#define SERVER_SaveAddress @"/c/address/save"
//地址列表
#define SERVER_AddressList @"/c/address/findAll"
//设为默认
#define SERVER_AddsetDefault @"/c/address/setDefault"

//删除
#define SERVER_AddressDelete @"/c/address/delete"

//分销统计
#define SERVER_myDistrion @"/c/distribution/myDistribution"
//分销成员列表
#define SERVER_DistriList @"/c/distribution/memberDistribution"






//通用设置
#define SERVER_systemConfig @"/c/systemConfig/findByKey"

//协议
#define SERVER_agreement @"/c/agreement/findAll"
//体验馆
#define SERVER_experienceShop @"/c/experienceShop/findAll"
//递送需求
#define SERVER_delivery @"/c/deliveryDemand/create"
//技术区商品分类
#define SERVER_productType @"/c/productType/findAll"
//技术区商品详情
#define SERVER_productSelect @"/c/product/select"
//添加到购物车或修改
#define SERVER_AddshoppingCart @"/c/shoppingCart/save"
//技术区首页
#define SERVER_TechnologyHome @"/c/homePage/technology"
//购物车列表
#define SERVER_ShoppingCartList @"/c/shoppingCart/page"
//购物车删除
#define SERVER_ShoppingCartDelete @"/c/shoppingCart/deleteByIds"
//下单
#define SERVER_OrderMaster @"/c/orderMaster/create"
//支付
#define SERVER_WalletPay @"/c/walletPay/oneIntegralPay"
//计算价格
#define SERVER_CalPrice @"/c/orderMaster/calPrice"
//订单列表
#define SERVER_OrderList @"/c/orderMaster/page"
//取消订单
#define SERVER_OrderCancel @"/c/orderMaster/cancel"
//确认订单
#define SERVER_OrderSoure @"/c/orderMaster/confirm"

//通知
#define SERVER_MessageInit @"/worker/message/init"
//通知test
#define SERVER_MessageTest @"/worker/message/test"

//协议
#define SERVER_Agreement @"/worker/systemConfig/findByKey"

//消息项目详情
#define SERVER_MessageProject @"/worker/project/findBySpot"

//接受消息
#define SERVER_QuotationAccept @"/worker/projectSpot/acceptInvite"
//拒绝消息
#define SERVER_QuotationRefuse @"/worker/projectSpot/refuseInvite"

//消息是否未读
#define SERVER_MessageIsRead @"/worker/message/mineCount"
#endif /* APIConfig_h */

//服务器地址
#if 1
#define SERVER_HOST @"https://m.moform.cn"

#else
#define SERVER_HOST @"http://a.h-tt.cn/"


#endif /* APIConfig_h */

